﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Sector7.Restaurant.EntityType
{
    /// <summary>
    /// 单位转换规则实体类
    /// </summary>
    [Serializable()]
    [DataContract]
    public class RS_UnitConversion : Entity
    {
        /// <summary>
        /// 获取或设置转换规则编号
        /// </summary>
        [DataMember]
        public string ConversionId { get; set; }

        /// <summary>
        /// 获取或设置基础单位编号
        /// </summary>
        [DataMember]
        public int BasicUnitId { get; set; }

        /// <summary>
        /// 获取或设置上级单位编号
        /// </summary>
        [DataMember]
        public int ParentUnitId { get; set; }

        /// <summary>
        /// 获取或设置转换比例
        /// </summary>
        [DataMember]
        public decimal Rate { get; set; }
    }
}
